package com.wx.router.rule.event;

import me.chanjar.weixin.mp.api.WxMpMessageRouter;
import me.chanjar.weixin.mp.api.WxMpMessageRouterRule;

/**
 * 点击菜单拉取消息时的事件推送
 * 
 * <xml> <ToUserName><![CDATA[toUser]]></ToUserName>
 * <FromUserName><![CDATA[FromUser]]></FromUserName>
 * <CreateTime>123456789</CreateTime> <MsgType><![CDATA[event]]></MsgType>
 * <Event><![CDATA[CLICK]]></Event>
 * <EventKey><![CDATA[EVENTKEY]]></EventKey> </xml>
 * 
 */
public class MenuKeyRule extends WxMpMessageRouterRule {

	public MenuKeyRule(WxMpMessageRouter routerBuilder) {
		super(routerBuilder);
		this.msgType("event").event("CLICK");
	}
}
